package com.gome.ocean.service.zookeeper.listener;

/**
 * 状态监听
 * @author haqiaolong 2016年7月13日 下午6:34:52
 * @since 5.0.0
 */
public interface StateListener {

    int DISCONNECTED = 0;

    int CONNECTED = 1;

    int RECONNECTED = 2;

    void stateChanged(int connected);

}